package com.xayy.mgt.model.vo;

import cn.kawins.spring.mvc.validator.Group;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 复制节点信息
 * @author plq
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NodeTreeCopyInfoVo {

    @ApiModelProperty(value = "复制到的节点id")
    @NotNull(groups = Group.Insert.class)
    private Long copyNodeParentId;

    @ApiModelProperty(value = "复制的节点id")
    @NotNull(groups = Group.Insert.class)
    private Long copyNodeId;

    @ApiModelProperty(value = "复制的节点卫星id")
    @NotNull(groups = Group.Insert.class)
    private Long satelliteId;

    @ApiModelProperty(value = "节点名称", required = true)
    @NotBlank(groups = Group.Insert.class)
    private String nodeName;

    @ApiModelProperty(value = "节点code", required = true)
    @NotBlank(groups = Group.Insert.class)
    private String nodeCode;

}
